package com.qiyang.zipkin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import zipkin.server.EnableZipkinServer;

/**
 * Created on 2018/5/16.
 *
 * @author sehuaqi.
 * 描述：
 */
@SpringBootApplication
@EnableZipkinServer
public class ZipkinApp {

    //日志输出
    private static Logger log = LoggerFactory.getLogger(ZipkinApp.class);

    public static void main(String args[]) {
    	//执行函数
        SpringApplication.run(ZipkinApp.class,args);

        log.info("链路追踪服务启动完毕");
    }

}
